<?php

class AppController extends Controller{
	var $components = array('Acl', 'Auth', 'Session');
	var $helpers = array('Html', 'Form', 'Session');

	function beforeFilter(){
		//Configure AuthComponent
		$this->Auth->authorize = 'actions';
		$this->Auth->loginAction = array('controller'=>'UnionMembers', 'action'=>'login');
		$this->Auth->logoutRedirect = array('controller'=>'UnionMembers', 'action');
		$this->Auth->loginRedirect = array('controller'=>'UnionMembers', 'view');			
	}
	
	
	
	
	
	
}

?>